package com.fasteat.mall.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 白sa能
 * @className
 * @date Created in 8:34 PM 2/20/21
 * @package com.fasteat.mall.entity.vo
 * @Description
 */
public class OrderformProductVo {
    @ApiModelProperty(value = "订单id")
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "商品id")
    private String productId;

    @ApiModelProperty(value = "购买数量")
    private Integer purchaseAmount;

    @ApiModelProperty(value = "收货地址id")
    private String addressId;

    @ApiModelProperty(value = "订单状态：1:未付款、2:已付款、3:未发货、4:已发货、5:已完成")
    private Integer orderStatus;

    @ApiModelProperty(value = "售后状态，1:申请退款 2:已同意退款、3:已退款、4:拒绝退款")
    private Integer aftersalesStatus;

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    private Date gmtModified;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "首页图")
    private String avatar;

    @ApiModelProperty(value = "现价")
    private BigDecimal salePrice;

    public OrderformProductVo(String id, String userId, String productId, Integer purchaseAmount, String addressId, Integer orderStatus, Integer aftersalesStatus, Date gmtCreate, Date gmtModified, String title, String avatar, BigDecimal salePrice) {
        this.id = id;
        this.userId = userId;
        this.productId = productId;
        this.purchaseAmount = purchaseAmount;
        this.addressId = addressId;
        this.orderStatus = orderStatus;
        this.aftersalesStatus = aftersalesStatus;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
        this.title = title;
        this.avatar = avatar;
        this.salePrice = salePrice;
    }

    public OrderformProductVo() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getPurchaseAmount() {
        return purchaseAmount;
    }

    public void setPurchaseAmount(Integer purchaseAmount) {
        this.purchaseAmount = purchaseAmount;
    }

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getAftersalesStatus() {
        return aftersalesStatus;
    }

    public void setAftersalesStatus(Integer aftersalesStatus) {
        this.aftersalesStatus = aftersalesStatus;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }
}
